Matthias Clasen [Tue, 25 Oct 2016 20:02:07 +0000 (16:02 -0400)]
Remove deprecated GDK_DISPLAY_OBJECT macro
Matthias Clasen [Tue, 25 Oct 2016 20:01:50 +0000 (16:01 -0400)]
Remove the last uses of GDK_DISPLAY_OBJECT
This is an obsolete macro.
Matthias Clasen [Tue, 25 Oct 2016 19:56:52 +0000 (15:56 -0400)]
Remove deprecated display ungrab functions
Matthias Clasen [Tue, 25 Oct 2016 19:52:57 +0000 (15:52 -0400)]
Remove deprecated gdk_app_launch_context_set_display
Matthias Clasen [Tue, 25 Oct 2016 19:35:44 +0000 (15:35 -0400)]
Drop deprecated gdk_display_get_screen
Matthias Clasen [Tue, 25 Oct 2016 19:31:55 +0000 (15:31 -0400)]
Remove an unused function
This function is no longer used, now that offscreen windows are gone.
Matthias Clasen [Tue, 25 Oct 2016 19:27:42 +0000 (15:27 -0400)]
Remove deprecated gdk_app_launch_context_new
Matthias Clasen [Tue, 25 Oct 2016 19:21:46 +0000 (15:21 -0400)]
Remove deprecated gdk_display_get_n_screens
Felix Riemann [Tue, 25 Oct 2016 13:43:34 +0000 (15:43 +0200)]
GtkShortcutType: Fix typos in developer documentation
https://bugzilla.gnome.org/show_bug.cgi?id=773479
Alexander Larsson [Tue, 25 Oct 2016 07:54:37 +0000 (09:54 +0200)]
Drop support for offscreen GdkWindows
These complicate a lot of GdkWindow internals to implement features
that not a lot of apps use, and will be better achieved using gsk.
So, we just drop it all.
Rico Tzschichholz [Mon, 24 Oct 2016 10:16:34 +0000 (12:16 +0200)]
gdkwindow: Remove deprecated API
Rico Tzschichholz [Mon, 24 Oct 2016 08:36:55 +0000 (10:36 +0200)]
gdk: Remove deprecated gdk_cairo_set_source_color
Rico Tzschichholz [Mon, 24 Oct 2016 08:31:37 +0000 (10:31 +0200)]
gdk: Remove deprecated gdk_add_option_entries_libgtk_only and gdk_pre_parse_libgtk_only
Rico Tzschichholz [Mon, 24 Oct 2016 08:26:03 +0000 (10:26 +0200)]
gdk: Remove deprecated gdk_threads_set_lock_functions
Rico Tzschichholz [Mon, 24 Oct 2016 08:21:49 +0000 (10:21 +0200)]
gdk: Remove deprecated gdk_get_display
Rico Tzschichholz [Mon, 24 Oct 2016 08:13:14 +0000 (10:13 +0200)]
gdk: Remove deprecated {keyboard,pointer}_{grab,ungrab} API
Rico Tzschichholz [Mon, 24 Oct 2016 07:18:53 +0000 (09:18 +0200)]
cursor: Remove deprecated API
Rico Tzschichholz [Mon, 24 Oct 2016 07:07:32 +0000 (09:07 +0200)]
textiter: Remove deprecated gtk_text_iter_begins_tag
Rico Tzschichholz [Sun, 23 Oct 2016 18:06:33 +0000 (20:06 +0200)]
gtk: Update path references from gtk-3.0 to gtk-4.0
Charles Monzat [Sun, 23 Oct 2016 18:09:50 +0000 (18:09 +0000)]
Update French translation
Rico Tzschichholz [Sun, 23 Oct 2016 16:46:24 +0000 (18:46 +0200)]
gtkplacessidebar: Remove deprecated "show-other-locations" signal
Rico Tzschichholz [Sun, 23 Oct 2016 16:34:49 +0000 (18:34 +0200)]
docs: Follow removal of GtkAction and GtkActivatable
Rico Tzschichholz [Sun, 23 Oct 2016 17:10:06 +0000 (19:10 +0200)]
cellrenderertoggle: Fix compile warnings
Rico Tzschichholz [Sun, 23 Oct 2016 17:09:27 +0000 (19:09 +0200)]
accessible: Fix compile warnings
Rico Tzschichholz [Sun, 23 Oct 2016 17:08:27 +0000 (19:08 +0200)]
treeview: Remove stray property enum-entry
Rico Tzschichholz [Sun, 23 Oct 2016 15:50:02 +0000 (17:50 +0200)]
treeview: Remove deprecated API
Rico Tzschichholz [Sun, 23 Oct 2016 15:39:31 +0000 (17:39 +0200)]
cellrenderertoggle: Remove deprecated indicator-size property
Rico Tzschichholz [Sun, 23 Oct 2016 15:26:37 +0000 (17:26 +0200)]
stylecontext: Remove deprecated API
Rico Tzschichholz [Sun, 23 Oct 2016 15:13:14 +0000 (17:13 +0200)]
gtkplacessidebar: Remove deprecated "show-connect-to-server"
Rico Tzschichholz [Sun, 23 Oct 2016 15:05:25 +0000 (17:05 +0200)]
Remove deprecated gtk_im_multicontext_append_menuitems
Rico Tzschichholz [Sun, 23 Oct 2016 15:02:29 +0000 (17:02 +0200)]
testutils: Remove deprecated API
Rico Tzschichholz [Sun, 23 Oct 2016 14:56:18 +0000 (16:56 +0200)]
Remove deprecated GTK_RELIEF_HALF
Rico Tzschichholz [Sun, 23 Oct 2016 11:12:00 +0000 (13:12 +0200)]
quartz: Remove stock API usage
Rico Tzschichholz [Sun, 23 Oct 2016 11:01:52 +0000 (13:01 +0200)]
Remove stray "stock" references
Rico Tzschichholz [Sun, 23 Oct 2016 10:52:00 +0000 (12:52 +0200)]
Removed deprecated GtkIM*Style enums
Rico Tzschichholz [Sun, 23 Oct 2016 10:42:52 +0000 (12:42 +0200)]
radiotoolbutton: Remove deprecated API
Rico Tzschichholz [Sun, 23 Oct 2016 10:38:31 +0000 (12:38 +0200)]
layout: Remove deprecated API
Rico Tzschichholz [Sun, 23 Oct 2016 08:45:13 +0000 (10:45 +0200)]
iconsource: Remove stray reference
Rico Tzschichholz [Sun, 23 Oct 2016 08:40:04 +0000 (10:40 +0200)]
iconset: Remove stray references
Rico Tzschichholz [Sun, 23 Oct 2016 08:26:56 +0000 (10:26 +0200)]
assistant: Remove deprecated API
Rico Tzschichholz [Sun, 23 Oct 2016 08:12:49 +0000 (10:12 +0200)]
accessible: Drop deprecated connect_widget_destroyed
Timm Bäder [Sat, 22 Oct 2016 19:47:12 +0000 (21:47 +0200)]
colorbutton: Don't notify nonexistent properties
Timm Bäder [Sat, 22 Oct 2016 19:40:04 +0000 (21:40 +0200)]
widget: Add docs for ::measure
Timm Bäder [Sat, 22 Oct 2016 19:02:34 +0000 (21:02 +0200)]
button: Add Since annotations to icon-name setter/getter
Timm Bäder [Sat, 22 Oct 2016 17:40:57 +0000 (19:40 +0200)]
widget: Really remove get_preferred_xxx vfuncs
Timm Bäder [Sat, 22 Oct 2016 17:36:58 +0000 (19:36 +0200)]
expander: Remove spacing property
Timm Bäder [Sat, 22 Oct 2016 17:32:45 +0000 (19:32 +0200)]
toolbar: Remove GtkToolbarSpaceStyle
Timm Bäder [Sat, 22 Oct 2016 17:32:25 +0000 (19:32 +0200)]
cellrendererpixbuf: Remove :follow-state
Timm Bäder [Sat, 22 Oct 2016 17:29:36 +0000 (19:29 +0200)]
remove GTK_DEBUG_PLUGSOCKET
Both GtkPlug and GtkSocket are gone so this doesn't make a lot of sense
anymore.
Timm Bäder [Sat, 22 Oct 2016 15:25:57 +0000 (17:25 +0200)]
icontheme: Remove deprecated API
Timm Bäder [Sat, 22 Oct 2016 15:01:37 +0000 (17:01 +0200)]
toolpalette: Remove deprecated API
Timm Bäder [Sat, 22 Oct 2016 14:06:14 +0000 (16:06 +0200)]
widget: Use ::measure vfunc to measure size
Add a new ::measure vfunc similar to GtkCssGadget's that widget
implementations have to override instead of the old get_preferred_width,
get_preferred_height, get_preferred_width_for_height,
get_preferred_height_for_width and
get_preferred_height_and_baseline_for_width.
Timm Bäder [Sat, 22 Oct 2016 14:56:49 +0000 (16:56 +0200)]
textview: Remove deprecated GtkScrollable API
Timm Bäder [Sat, 22 Oct 2016 14:49:42 +0000 (16:49 +0200)]
css: Stop parsing GdkColor values
Timm Bäder [Sat, 22 Oct 2016 14:41:12 +0000 (16:41 +0200)]
paned: Don't check handle-size style property
Timm Bäder [Sat, 22 Oct 2016 07:13:52 +0000 (09:13 +0200)]
Remove gtk_cell_view_get_size_of_row
Emmanuele Bassi [Sat, 22 Oct 2016 01:37:53 +0000 (02:37 +0100)]
gl: Check whether use_es is positive
Now that the use_es field is an int with a possible negative value, we
cannot use it its truth value directly; we need to check if it's a
positive value, instead.
Emmanuele Bassi [Fri, 21 Oct 2016 20:21:39 +0000 (21:21 +0100)]
gl: Set legacy bit depending on OpenGL version
GDK defaults to asking for an OpenGL 3.2 Core Profile, but if we get a
legacy profile from the underlying windowing system, the OpenGL version
will be fixed to 3.0. If that happens, we need to set the legacy bit on
the GdkGLContext, since that bit will be used to determine the version
and type of GLSL shaders that will be used by application and toolkit
code alike.
Mario Blättermann [Fri, 21 Oct 2016 23:44:55 +0000 (23:44 +0000)]
Update German translation
(cherry picked from commit
ffb1ac56a8ae8b0261b9007115faed6206d4b06b)
Jonas Ådahl [Fri, 14 Oct 2016 08:41:50 +0000 (16:41 +0800)]
GtkMenu: Try using gdk_window_move_to_rect() more often
With best-effort, try to use gdk_window_move_to_rect() more often, when
all pieces fit together. For the non-legacy paths to be triggered for
when gtk_menu_popup_for_device() or gtk_menu_popup() were used, the
following conditions must be met:
1) There is no custom positioning function specified
2) The menu is attached to a widget (using gtk_menu_attach_to_widget())
3) There is a associated grab device
https://bugzilla.gnome.org/show_bug.cgi?id=772922
Pavel Grunt [Mon, 17 Oct 2016 08:32:04 +0000 (10:32 +0200)]
overlay: Document availability of properties
Add missing "Since"
https://bugzilla.gnome.org/show_bug.cgi?id=773082
Robert Roth [Thu, 20 Oct 2016 06:17:45 +0000 (09:17 +0300)]
Fix css documentation typo for color definition
'ligher' should be 'lighter', of course.
https://bugzilla.gnome.org/show_bug.cgi?id=773246
Emmanuele Bassi [Wed, 19 Oct 2016 12:43:17 +0000 (13:43 +0100)]
gdk/gl: Allow autodetection for GL/GLES
If the GdkGLContext was not explicitly instructed to use or not GLES, we
can detect whether the underlying API is going to be desktop GL or GLES.
https://bugzilla.gnome.org/show_bug.cgi?id=773180
Adam Jackson [Tue, 18 Oct 2016 19:26:18 +0000 (15:26 -0400)]
gdk: Don't second-guess whether a context is GLES
We've already set ->use_es correctly at context creation time, all this
can possibly do is change our mind about what kind of GL we're using.
Signed-off-by: Adam Jackson <ajax@redhat.com>
https://bugzilla.gnome.org/show_bug.cgi?id=773180
Victor Toso [Mon, 17 Oct 2016 16:21:06 +0000 (18:21 +0200)]
tests: fix clipboard test by loading correct icon
The icon name changed from "terminal" to "utilities-terminal" in
Adwaita-icon-theme.
Signed-off-by: Victor Toso <victortoso@redhat.com>
https://bugzilla.gnome.org/show_bug.cgi?id=773113
Matthias Clasen [Fri, 21 Oct 2016 15:08:07 +0000 (11:08 -0400)]
docs: Expand icon-palette example
Add a warning color, and show that hex colors work here.
Matthias Clasen [Fri, 21 Oct 2016 13:58:36 +0000 (09:58 -0400)]
Add border-width to the migration guide
No good answers here yet.
Timm Bäder [Fri, 21 Oct 2016 08:12:40 +0000 (10:12 +0200)]
window: Don't leak the GskRenderer
Lapo Calamandrei [Fri, 21 Oct 2016 11:53:02 +0000 (13:53 +0200)]
Fix a typo in the css docs
Chun-wei Fan [Fri, 21 Oct 2016 05:40:49 +0000 (13:40 +0800)]
gdkwindow-win32.c: Make code compatible with GDK 4.0 APIs
Port the code here so that things will continue to build and work on 4.x.
https://bugzilla.gnome.org/show_bug.cgi?id=773299
Timm Bäder [Thu, 20 Oct 2016 19:12:36 +0000 (21:12 +0200)]
Fix a few memory leaks
Matthias Clasen [Thu, 20 Oct 2016 20:09:45 +0000 (16:09 -0400)]
Beef up the migration guide
Matthias Clasen [Thu, 20 Oct 2016 18:05:34 +0000 (14:05 -0400)]
Add a bit more to the migration guide
Timm Bäder [Thu, 20 Oct 2016 17:51:43 +0000 (19:51 +0200)]
Remove some more GdkColor properties
Timm Bäder [Thu, 20 Oct 2016 15:58:03 +0000 (17:58 +0200)]
button: Fix icon-name implementation
Timm Bäder [Thu, 20 Oct 2016 15:57:53 +0000 (17:57 +0200)]
button: Remove grab_time
Unused.
Timm Bäder [Thu, 20 Oct 2016 11:58:36 +0000 (13:58 +0200)]
container: Remove composite_name
Timm Bäder [Thu, 20 Oct 2016 11:43:10 +0000 (13:43 +0200)]
frame: Remove unused constants
Timm Bäder [Wed, 19 Oct 2016 19:02:09 +0000 (21:02 +0200)]
container: Remove reallocate_redraws
Timm Bäder [Wed, 19 Oct 2016 18:48:11 +0000 (20:48 +0200)]
gtk4-demo: Fix builder demo
Timm Bäder [Wed, 19 Oct 2016 18:17:45 +0000 (20:17 +0200)]
widget: Remove in_reparent flag
gtk_widget_reparent is gone so we don't need this anymore.
Timm Bäder [Tue, 18 Oct 2016 18:13:31 +0000 (20:13 +0200)]
menuitem: Stop looking at nonexistant child properties
Timm Bäder [Tue, 18 Oct 2016 17:50:32 +0000 (19:50 +0200)]
checkbutton: Remove unused constants
Timm Bäder [Mon, 17 Oct 2016 16:44:46 +0000 (18:44 +0200)]
builder: Stop parsing GdkColor values
Timm Bäder [Mon, 17 Oct 2016 16:06:35 +0000 (18:06 +0200)]
shortcutswindow: Remove unneeded deprecation guards
Leftovers from when it was still using a GtkArrow
Timm Bäder [Mon, 17 Oct 2016 15:21:09 +0000 (17:21 +0200)]
testsuite: Update buttons.nodes
We don't create a box anymore here.
Timm Bäder [Thu, 20 Oct 2016 11:35:45 +0000 (13:35 +0200)]
container: Don't queue resize on non-toplevel widgets
Carlos Garnacho [Tue, 18 Oct 2016 17:18:14 +0000 (19:18 +0200)]
wayland: Allow grabless xdg_popups
xdg_shell v6 allows grabless popups, whose behavior is not that
different from override redirect windows with no grab to take
keyboard input (and pointer events outside).
This means we can relax the requirement to have a grab before
creating an xdg_popup. The warning is still useful to have so
people stop relying on gdk_window_show();gdk_device_grab() being
an ok pattern to popup a window, it's been moved to wayland
implementation of gdk_device_grab() instead, so we warn if trying
to grab a GDK_WINDOW_TEMP window that's already visible.
https://bugzilla.gnome.org/show_bug.cgi?id=771694
Emmanuele Bassi [Wed, 19 Oct 2016 14:21:03 +0000 (15:21 +0100)]
build: Enable subdir-objects
Newer versions of Automake warn about forward compatibility when the
build uses sources in sub-directories without the subdir-objects option.
Both GTK+ and GDK have an almost-but-not-quite non-recursive Automake
layout, with sources in sub-directories contributing to the build of a
top-level object.
In theory, just adding subdir-objects to AM_INIT_AUTOMAKE would be
enough, but the test suite references sources in a different top-level
in order to build tests that verify the implementation of private data
structures. This is not really allowed when using subdir-objects and out
of srcdir builds. In order to fix this case, we require some ad hoc
rules to create symbolic links in the appropriate build directory.
Lapo Calamandrei [Wed, 19 Oct 2016 13:56:41 +0000 (15:56 +0200)]
Adwaita: make circular button border looking nice
the darker bottom border used on buttons looks bad on circular ones
so now a gradient clipped on the border-box and a transparent
border is used in that partcular case.
See https://bugzilla.gnome.org/show_bug.cgi?id=771205 for details.
Lapo Calamandrei [Tue, 18 Oct 2016 11:55:37 +0000 (13:55 +0200)]
Adwaita: sass, make button mixin export a global $button_fill var
$button_fill contains the background-image property value of
buttons, having it readable outside the drawing mixin allows, for
example, stacking background images in an easier way.
Lapo Calamandrei [Tue, 18 Oct 2016 11:16:07 +0000 (13:16 +0200)]
Adwaita: sass cleanup
aggregate circular button style to the main button structure.
Lapo Calamandrei [Tue, 18 Oct 2016 11:08:02 +0000 (13:08 +0200)]
widget-factory: use circular style class on the circular button...
...in place of the circular-button one, killing the custom style
shipped, realying on the theme style.
Emmanuele Bassi [Wed, 19 Oct 2016 13:34:05 +0000 (14:34 +0100)]
build: Remove unused target variables
The foreigndrawing test has been removed.
Emmanuele Bassi [Wed, 19 Oct 2016 13:04:00 +0000 (14:04 +0100)]
icontheme: Simplify lookup_size()
No need to use an internal function, and no need to store the icon size
id, since we're using the id as the offset.
Chun-wei Fan [Wed, 19 Oct 2016 10:39:36 +0000 (18:39 +0800)]
Visual Studio builds: Update from [gdk|gtk]-3 to [gdk|gtk]-4
This updates all the projects files to be be named appropriately as we move from GTK-3.x to 4.x,
and updates the autotools files so that things are distributed and generated properly.
Also remove deprecated/gtkstatusicon-quartz.c from gtk/Makefile.am, as that was causing 'make dist'
to fail as that file has been removed.
This fixes 'make dist' with the updated existing project files in proper order.
Note that this does not include the new GSK, which will be added later, so the project files do
not yet build the whole stack on Visual Studio at this point.
Chun-wei Fan [Wed, 19 Oct 2016 08:13:54 +0000 (16:13 +0800)]
Visual Studio Solutions: Drop references to libgail-util
We dropped it...
Chun-wei Fan [Wed, 19 Oct 2016 06:48:08 +0000 (14:48 +0800)]
build/: Force MSVC project file generation on Makefile.am changes
Make the Makefile.am targets for generating the Visual Studio projects re-generate the
project files and the header listings whenever the Makefile.am's that include
build/Makefile.msvcproj changes, so that whenever a source/header is added, they will
be reflected in the projects and in the property sheets that are used to copy the
headers.
Also ensure that these are applied to the vs11, vs12 and vs14 projects when this
happens, as they are copied and processed from the Visual Studio 2010 projects.
Matthias Clasen [Tue, 18 Oct 2016 20:20:44 +0000 (16:20 -0400)]
Add some content to the migration guide
Matthias Clasen [Tue, 18 Oct 2016 19:21:12 +0000 (15:21 -0400)]
Start a new migration guide
Remove information that is only relevant for porting to GTK+ 3,
and put scaffolding in place for information relevant to GTK+ 4.